home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / browser / searchbar.css < prev    next >
Cascading Style Sheet File  |  2009-12-22  |  3KB  |  130 lines

  1. .searchbar-textbox {
  2. margin-left:3px;
  3. /* height:22px; */
  4. padding:0 !important;
  5. border: 3px solid !important;
  6. -moz-border-radius: 4px;
  7. background-color:#fff;
  8. -moz-border-top-colors:#a8a8a8 #dadada #fcfcfc !important;
  9. -moz-border-bottom-colors:#d9d8d8 transparent transparent !important;
  10. -moz-border-left-colors:#d3d3d3 #fafafa transparent !important;
  11. -moz-border-right-colors:#d4d4d4 #fafafa transparent !important;
  12. width: 6em;
  13. min-width: 6em;
  14. }
  15.  
  16. .searchbar-textbox:hover {
  17. -moz-border-top-colors:#79b7fc #aac9ec #e8f2fd !important;
  18. -moz-border-bottom-colors:#7bb8fd #bddcff #eaf4ff !important;
  19. -moz-border-left-colors:#7bb9fd #bad9fc #eaf4ff !important;
  20. -moz-border-right-colors:#7cb9fe #bad9fc #eaf4ff !important;
  21. }
  22.  
  23. .searchbar-textbox[focused="true"] {
  24. -moz-border-top-colors:#3076c6 #85a8d1 #dde7f5 !important;
  25. -moz-border-bottom-colors:#3278c7 #98bbe4 #dfe9f7 !important;
  26. -moz-border-left-colors:#3278c7 #95b8e1 #dfe9f7 !important;
  27. -moz-border-right-colors:#3379c8 #95b8e1 #dfe9f7 !important;
  28. }
  29.  
  30. .textbox-input-box {
  31. padding:0;
  32. margin: 0;
  33. }
  34.  
  35. .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  36. font-weight: bold;
  37. }
  38.  
  39. /* Engine button */
  40. .searchbar-engine-image {
  41. height: 16px;
  42. width: 16px;
  43. list-style-image: url("chrome://global/skin/icons/folder-item.png");
  44. -moz-image-region: rect(0px, 16px, 16px, 0px);
  45. -moz-margin-start: 2px;
  46. padding:0 !important;
  47. background-color: none !important;
  48. }
  49.  
  50. .searchbar-engine-button {
  51. -moz-appearance: none;
  52. padding:0 !important;
  53. margin:0 !important;
  54. min-width: 0;
  55. margin: 0;
  56. -moz-margin-end: 0px;
  57. border: none;
  58. -moz-box-align: left;
  59. background: none transparent !important;
  60. }
  61.  
  62. .searchbar-engine-button > .button-box {
  63. -moz-appearance: none !important;
  64. background-color:#fff !important;
  65. padding:0 !important;
  66. margin:0 !important;
  67. }
  68.  
  69. .searchbar-engine-button:hover > .button-box {
  70. background: none transparent !important;
  71. }
  72.  
  73.  
  74. .searchbar-engine-button:hover:active > .button-box,
  75. .searchbar-engine-button[open="true"] > .button-box {
  76. background:none transparent;
  77. }
  78.  
  79. .searchbar-engine-button > .button-box[focused="true"] {
  80. background-color: transparent;
  81. }
  82.  
  83.  
  84. .searchbar-engine-button[addengines="true"] {
  85. background-color: transparent;
  86. }
  87.  
  88. .searchbar-dropmarker-image {
  89. list-style-image: url("chrome://browser/skin/icons/search_dropmarker.png");
  90. width: 16px;
  91. height: 16px;
  92. -moz-margin-start: 1px;
  93. }
  94.  
  95. /* Search go button */
  96. .search-go-container {
  97.   -moz-box-align: center;
  98. }
  99.  
  100. .search-go-button,
  101. .search-go-button:hover {
  102.   padding: 1px;
  103. padding-right:5px;
  104.   list-style-image: url("chrome://browser/skin/Search-glass.png");
  105.   cursor: pointer;
  106.   -moz-appearance: none !important;
  107.   -moz-margin-start:3px !important;
  108.   -moz-margin-end:0 !important;
  109.   -moz-image-region: auto !important;
  110. }
  111.  
  112. .search-go-button[chromedir="rtl"] {
  113.   list-style-image: url("chrome://browser/skin/Search-glass-rtl.png");
  114. }
  115.  
  116. menuitem[cmd="cmd_clearhistory"] {
  117.   list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
  118. }
  119.  
  120. menuitem[cmd="cmd_clearhistory"][disabled] {
  121.   list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
  122. }
  123.  
  124. button {
  125. -moz-appearance: none;
  126.  min-height:17px;
  127.  height:17px;
  128. -moz-border-image: none !important;
  129. }
  130.